package com.x.reader.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseModel;

@MappingTable(tableName = "READER_FAVOURITE")
public class Favourite extends BaseModel {
    @MappingColumn(columnName = "user_id", columnLength = 32, columnPk = true)
    private String userId;

    @MappingColumn(columnName = "favourite_id", columnLength = 32, columnPk = true)
    private String favouriteId;

    @MappingColumn(columnName = "favourite_title")
    private String favouriteTitle;

    @MappingColumn(columnName = "favourite_cover")
    private String favouriteCover;

    @MappingColumn(columnName = "favourite_url")
    private String favouriteUrl;

    @MappingColumn(columnName = "category_id")
    private Integer categoryId;

    @MappingColumn(columnName = "favourite_create_time")
    private String favouriteCreateTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFavouriteId() {
        return favouriteId;
    }

    public void setFavouriteId(String favouriteId) {
        this.favouriteId = favouriteId;
    }

    public String getFavouriteTitle() {
        return favouriteTitle;
    }

    public void setFavouriteTitle(String favouriteTitle) {
        this.favouriteTitle = favouriteTitle;
    }

    public String getFavouriteCover() {
        return favouriteCover;
    }

    public void setFavouriteCover(String favouriteCover) {
        this.favouriteCover = favouriteCover;
    }

    public String getFavouriteUrl() {
        return favouriteUrl;
    }

    public void setFavouriteUrl(String favouriteUrl) {
        this.favouriteUrl = favouriteUrl;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getFavouriteCreateTime() {
        return favouriteCreateTime;
    }

    public void setFavouriteCreateTime(String favouriteCreateTime) {
        this.favouriteCreateTime = favouriteCreateTime;
    }
}
